<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css"
    />
    <title>Vercel KV Rate Limit</title>
    <meta
      name="description"
      content="Learn how to use Vercel KV and Vercel Edge Middleware to rate limit with any framework."
    />
  </head>
  <body>
    <h1>Vercel KV Rate Limit</h1>
    <p>
      This template shows how to add rate limiting to any application with
      <a href="https://vercel.com/docs/storage/vercel-kv">Vercel KV</a> and
      <a href="https://vercel.com/docs/concepts/functions/edge-middleware"
        >Vercel Edge Middleware</a
      >.
    </p>
    <p>
      This template rate limits based on the visitor IP address. You are
      successfully viewing the <code>/</code> route. Try refreshing a few times
      (5) and you will be rate limited and redirected to <code>/blocked</code>.
    </p>
  </body>
</html>
